package org.jeecg.modules.yusuan.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.yusuan.entity.CaiwuBiaozhun;
import org.jeecg.modules.yusuan.entity.CaiwuZhijie;
import org.jeecg.modules.yusuan.entity.NianDuHuiZong;

import java.util.List;
import java.util.Map;

/**
 * @Description: caiwu_yusuan
 * @Author: jeecg-boot
 * @Date:   2020-06-15
 * @Version: V1.0
 */
public interface ICaiwuBiaozhunService extends IService<CaiwuBiaozhun> {

    List<CaiwuBiaozhun> listData(String deptId,String deptCode, String pid,Integer effective,Integer version);
    List<CaiwuBiaozhun> zhibiaolistData(String deptId,String deptCode, String pid,Integer effective,Integer version);


    List<NianDuHuiZong> nianduhuizong(String orgCode);

    Map<String,NianDuHuiZong> nianduhuizongData(List<NianDuHuiZong> list);

    Integer getMaxVersion(Integer effective, String deptId);
}
